<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			span{
				font-size: 20em;
			}
		</style>
	</head>
	<body>
		<span id="box">1</span>
	</body>
	<script>
		var timer=null;
		var oBox=document.querySelector('#box')
		console.log(oBox);
		
		timer=setInterval(function(){
			 oBox.innerHTML++
			 if(oBox.innerHTML>100-1){
				 clearInterval(timer)
			 }
			
		},30)
	</script>
</html>
